package com.cloudbroker.bcs.platform.dav.bizapi.service.business.system.vo;

import com.cloudbroker.bcs.common.validatioin.annotation.EnumValue;
import com.cloudbroker.bcs.common.validatioin.annotation.IntegerString;
import com.cloudbroker.bcs.common.validatioin.annotation.NotBlank;
import com.cloudbroker.bcs.platform.dav.bizapi.constants.type.ViewpointPublicType;
import com.cloudbroker.bcs.platform.dav.bizapi.constants.type.ViewpointReviewFlagType;
import com.cloudbroker.bcs.platform.dav.bizapi.constants.type.ViewpointReviewType;
import com.cloudbroker.bcs.platform.dav.bizapi.constants.type.ViewpointStatusType;
import com.cloudbroker.bcs.platform.dav.bizapi.service.base.vo.HSBCPSVO;
import com.google.common.base.Enums;

/**
 * Created by lnq on 2016/11/17.
 */
public class SelfViewpointStatusForm extends HSBCPSVO {
    private static final long serialVersionUID = 1L;

    @NotBlank
    @IntegerString
    private  String self_viewpoint_id;

    @NotBlank
    @EnumValue(enumClass = ViewpointReviewType.class)
    private String public_review_status;

    public String getSelf_viewpoint_id() {
        return self_viewpoint_id;
    }

    public void setSelf_viewpoint_id(String self_viewpoint_id) {
        this.self_viewpoint_id = self_viewpoint_id;
    }

    public String getPublic_review_status() {
        return public_review_status;
    }

    public void setPublic_review_status(String public_review_status) {
        this.public_review_status = public_review_status;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("SelfViewpointStatusForm{");
        sb.append("self_viewpoint_id='").append(self_viewpoint_id).append('\'');
        sb.append(", public_review_status='").append(public_review_status).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
